package com.mlz.mlzmall.ui.activity.act.personal.NetworkRequest;

import com.mlz.mlzmall.ui.utils.DataUtils;

import java.util.List;

/**
 * @description 分享活动实体类
 * Created by 安帅 on 2016/5/30 10:02.
 * PackageName com.mlz.mlzmall.ui.activity.act.personal.NetworkRequest.
 * ProjectName mlzmall_android.
 */
public class MyShareBean {

    /**
     * status : 0
     * errors : {}
     * msg : null
     * data : {"name":"【美篮享享】NO.9\u2014\u2014面霜","title":"八一八韩国当地妹纸都在用什么面膜","image":"http://image4.mlzmall.com/catalog/ARIUL/9999.jpg","message":"有一份护肤大礼包在你面前","describe":"韩国进口面膜，7种天然成分，一周不重样的护肤体验~","dateStart":1461513600000,"dateEnd":1467302399000,"shareUrl":"http://m.mlzmall.com/Home/Manufacturer?activity=29&promotion_id=10&act_code=3ODbAsyrWeZQrdlprdpbhw","shareDescriptionUrl":"http://m.mlzmall.com/Home/Share/appShare?promotion_id=10","progress":0,"requireShareTimes":1,"type":2,"giftReceive":false,"status":"UNJOINED","progressDetails":[],"productIds":[7154,7172],"share":{"url":"http://m.mlzmall.com/Home/Manufacturer?activity=29&promotion_id=10&act_code=3ODbAsyrWeZQrdlprdpbhw","image":"http://image4.mlzmall.com/catalog/ARIUL/9999.jpg@100h_100w.","title":"八一八韩国当地妹纸都在用什么面膜","content":"韩国进口面膜，7种天然成分，一周不重样的护肤体验~"}}
     */

    private int status;
    private ErrorsBean errors;
    private String msg;
    /**
     * name : 【美篮享享】NO.9——面霜
     * title : 八一八韩国当地妹纸都在用什么面膜
     * image : http://image4.mlzmall.com/catalog/ARIUL/9999.jpg
     * message : 有一份护肤大礼包在你面前
     * describe : 韩国进口面膜，7种天然成分，一周不重样的护肤体验~
     * dateStart : 1461513600000
     * dateEnd : 1467302399000
     * shareUrl : http://m.mlzmall.com/Home/Manufacturer?activity=29&promotion_id=10&act_code=3ODbAsyrWeZQrdlprdpbhw
     * shareDescriptionUrl : http://m.mlzmall.com/Home/Share/appShare?promotion_id=10
     * progress : 0
     * requireShareTimes : 1
     * type : 2
     * giftReceive : false
     * status : UNJOINED
     * progressDetails : []
     * productIds : [7154,7172]
     * share : {"url":"http://m.mlzmall.com/Home/Manufacturer?activity=29&promotion_id=10&act_code=3ODbAsyrWeZQrdlprdpbhw","image":"http://image4.mlzmall.com/catalog/ARIUL/9999.jpg@100h_100w.","title":"八一八韩国当地妹纸都在用什么面膜","content":"韩国进口面膜，7种天然成分，一周不重样的护肤体验~"}
     */

    private DataBean data;

    public int getStatus() {
        return DataUtils.getInt(status);
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return DataUtils.getString(msg);
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class ErrorsBean {
    }

    public static class DataBean {
        private String name;
        private String title;

        public static class ProgressBean {
            public ProgressBean(String date, String msg) {
                this.date = date;
                this.msg = msg;
            }

            private String date;
            private String msg;

            public String getDate() {
                return DataUtils.getString(date);
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getMsg() {
                return DataUtils.getString(msg);
            }

            public void setMsg(String msg) {
                this.msg = msg;
            }
        }

        private String image;
        private String message;
        private String describe;
        private long dateStart;
        private long dateEnd;
        private String shareUrl;
        private String shareDescriptionUrl;
        private int progress;
        private int requireShareTimes;
        private int type;
        private boolean giftReceive;
        private String status;
        /**
         * url : http://m.mlzmall.com/Home/Manufacturer?activity=29&promotion_id=10&act_code=3ODbAsyrWeZQrdlprdpbhw
         * image : http://image4.mlzmall.com/catalog/ARIUL/9999.jpg@100h_100w.
         * title : 八一八韩国当地妹纸都在用什么面膜
         * content : 韩国进口面膜，7种天然成分，一周不重样的护肤体验~
         */

        private ShareBean share;
        private List<ProgressBean> progressDetails;
        private List<Integer> productIds;

        public String getName() {
            return DataUtils.getString(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTitle() {
            return DataUtils.getString(title);
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getImage() {
            return DataUtils.getString(image);
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getMessage() {
            return DataUtils.getString(message);
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public String getDescribe() {
            return DataUtils.getString(describe);
        }

        public void setDescribe(String describe) {
            this.describe = describe;
        }

        public long getDateStart() {
            return dateStart;
        }

        public void setDateStart(long dateStart) {
            this.dateStart = dateStart;
        }

        public long getDateEnd() {
            return dateEnd;
        }

        public void setDateEnd(long dateEnd) {
            this.dateEnd = dateEnd;
        }

        public String getShareUrl() {
            return DataUtils.getString(shareUrl);
        }

        public void setShareUrl(String shareUrl) {
            this.shareUrl = shareUrl;
        }

        public String getShareDescriptionUrl() {
            return DataUtils.getString(shareDescriptionUrl);
        }

        public void setShareDescriptionUrl(String shareDescriptionUrl) {
            this.shareDescriptionUrl = shareDescriptionUrl;
        }

        public int getProgress() {
            return DataUtils.getInt(progress);
        }

        public void setProgress(int progress) {
            this.progress = progress;
        }

        public int getRequireShareTimes() {
            return DataUtils.getInt(requireShareTimes);
        }

        public void setRequireShareTimes(int requireShareTimes) {
            this.requireShareTimes = requireShareTimes;
        }

        public int getType() {
            return DataUtils.getInt(type);
        }

        public void setType(int type) {
            this.type = type;
        }

        public boolean isGiftReceive() {
            return giftReceive;
        }

        public void setGiftReceive(boolean giftReceive) {
            this.giftReceive = giftReceive;
        }

        public String getStatus() {
            return DataUtils.getString(status);
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public List<ProgressBean> getProgressDetails() {
            return progressDetails;
        }

        public void setProgressDetails(List<ProgressBean> progressDetails) {
            this.progressDetails = progressDetails;
        }

        public List<Integer> getProductIds() {
            return productIds;
        }

        public void setProductIds(List<Integer> productIds) {
            this.productIds = productIds;
        }

        public static class ShareBean {
            private String url;
            private String image;
            private String title;
            private String content;

            public String getUrl() {
                return DataUtils.getString(url);
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getImage() {
                return DataUtils.getString(image);
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getTitle() {
                return DataUtils.getString(title);
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getContent() {
                return DataUtils.getString(content);
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
